package entry34.pre;

public enum BasicOperation implements Operation {
	PLUS {
		@Override
		public int apply(int first, int last) {
			return first + last;
		}
	},
	MINUS {
		@Override
		public int apply(int first, int last) {
			return first - last;
		}
	},
	TIMES {
		@Override
		public int apply(int first, int last) {
			return first * last;
		}
	},
	DEVIDE {
		@Override
		public int apply(int first, int last) {
			return first / last;
		}
	};
}